package com.atguigu.jxc.service;

import com.atguigu.jxc.entity.SaleList;

import javax.servlet.http.HttpSession;
import java.util.Map;

public interface SaleListGoodsService {
    void save(SaleList saleList, String saleListGoodsStr, HttpSession httpSession);

    Map<String, Object> list(String saleNumber, Integer customerId, Integer state, String sTime, String eTime);

    Map<String, Object> goodsList(Integer saleListId);

    void delete(Integer saleListId);

    void updateState(Integer saleListId);

    String count(String sTime, String eTime, Integer goodsTypeId, String codeOrName);

    String getSaleDataByDay(String sTime, String eTime);
}
